package com.xueyi.system.BaseMyMsg.domain.dto;

import com.xueyi.system.BaseMyMsg.domain.po.BaseMyMsgPo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 我的消息 数据传输对象
 *
 * @author xueyi
 */
public class BaseMyMsgDto extends BaseMyMsgPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("content", getContent())
            .append("date", getDate())
            .append("receiveId", getReceiveId())
            .append("receiveUser", getReceiveUser())
            .append("receiveStatus", getReceiveStatus())
            .append("pusherId", getPusherId())
            .append("pusher", getPusher())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}